From ba8cd44a0ed2c613a5f2cee06bfc9bd0f61f21c7 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Fri, 7 Nov 2025 08:39:04 +0000
Subject: (최겸) 입찰/견적 수정사항
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../(partners)/bid/[id]/pre-quote/page.tsx         | 97 ----------------------
 1 file changed, 97 deletions(-)
 delete mode 100644 app/[lng]/partners/(partners)/bid/[id]/pre-quote/page.tsx

(limited to 'app/[lng]/partners/(partners)/bid/[id]/pre-quote/page.tsx')

diff --git a/app/[lng]/partners/(partners)/bid/[id]/pre-quote/page.tsx b/app/[lng]/partners/(partners)/bid/[id]/pre-quote/page.tsx
deleted file mode 100644
index 6364f7f8..00000000
--- a/app/[lng]/partners/(partners)/bid/[id]/pre-quote/page.tsx
+++ /dev/null
@@ -1,97 +0,0 @@
-import { PartnersBiddingPreQuote } from '@/lib/bidding/vendor/partners-bidding-pre-quote'
-import { Suspense } from 'react'
-import { Skeleton } from '@/components/ui/skeleton'
-
-import { getServerSession } from 'next-auth'
-import { authOptions } from "@/app/api/auth/[...nextauth]/route"
-
-interface PartnersPreQuotePageProps {
-  params: Promise<{
-    id: string
-  }>
-}
-
-export default async function PartnersPreQuotePage(props: PartnersPreQuotePageProps) {
-  const resolvedParams = await props.params
-  const biddingId = parseInt(resolvedParams.id)
-
-  if (isNaN(biddingId)) {
-    return (
-      <div className="container mx-auto py-6">
-        <div className="text-center">
-          <h1 className="text-2xl font-bold text-destructive">유효하지 않은 입찰 ID입니다.</h1>
-        </div>
-      </div>
-    )
-  }
-
-  // 세션에서 companyId 가져오기
-  const session = await getServerSession(authOptions)
-  const companyId = session?.user?.companyId
-
-  if (!companyId) {
-    return (
-      <div className="container mx-auto py-6">
-        <div className="text-center">
-          <h1 className="text-2xl font-bold text-destructive">회사 정보가 없습니다. 다시 로그인 해주세요.</h1>
-        </div>
-      </div>
-    )
-  }
-
-  return (
-    <div className="container mx-auto py-6">
-      <Suspense fallback={<PreQuoteSkeleton />}>
-        <PartnersBiddingPreQuote
-          biddingId={biddingId}
-          companyId={companyId}
-        />
-      </Suspense>
-    </div>
-  )
-}
-
-function PreQuoteSkeleton() {
-  return (
-    <div className="space-y-6">
-      {/* 헤더 스켈레톤 */}
-      <div className="flex items-center justify-between">
-        <div className="space-y-2">
-          <Skeleton className="h-8 w-64" />
-          <Skeleton className="h-4 w-48" />
-        </div>
-      </div>
-
-      {/* 입찰 공고 스켈레톤 */}
-      <div className="space-y-4">
-        <Skeleton className="h-8 w-32" />
-        <div className="space-y-2">
-          {Array.from({ length: 6 }).map((_, i) => (
-            <Skeleton key={i} className="h-6 w-full" />
-          ))}
-        </div>
-      </div>
-
-      {/* 현재 설정된 조건 스켈레톤 */}
-      <div className="space-y-4">
-        <Skeleton className="h-8 w-32" />
-        <div className="grid grid-cols-2 gap-4">
-          {Array.from({ length: 8 }).map((_, i) => (
-            <Skeleton key={i} className="h-16 w-full" />
-          ))}
-        </div>
-      </div>
-
-      {/* 사전견적 폼 스켈레톤 */}
-      <div className="space-y-4">
-        <Skeleton className="h-8 w-32" />
-        <div className="space-y-4">
-          {Array.from({ length: 10 }).map((_, i) => (
-            <Skeleton key={i} className="h-10 w-full" />
-          ))}
-          <Skeleton className="h-12 w-32" />
-        </div>
-      </div>
-    </div>
-  )
-}
-- 
cgit v1.2.3

